<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>

<template>
  <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/about">About</RouterLink>
        <RouterLink to="/AddHouseType">添加页面</RouterLink>
        
        <RouterLink to="/ShowHouseType">列表</RouterLink>
        <RouterLink to="/UpdateHouseType">修改</RouterLink>
        
        <RouterLink to="/login">Login</RouterLink>
      </nav>

  <RouterView />
</template>

<style scoped>
a{
    margin: 0 10px;
}
</style>
